<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<form:form name="frmClasse" action="classe.save" method="post" class="form-horizontal" role="form" modelAttribute="classe">
	<form:input path="id" type="hidden" name="id" value="${classe.id}" />
	
	<div class="form-group">
   		<label class="col-sm-2 control-label" for="nom">Libellé</label>
   		<div class="col-sm-10">
			<form:input path="libelle" placeholder="Libellé" required="true" class="form-control" value="${classe.libelle}"/>
		</div>
	</div>
	
	<div class="form-group">
   		<label class="col-sm-2 control-label" for="prenom">Structure (SIECLE)</label>
   		<div class="col-sm-10">
			<form:input path="codeStructure" placeholder="Code Structure" required="true" class="form-control" value="${classe.codeStructure}"/>
		</div>
	</div>
	
</form:form>